package com.zhyz.bookstore.entity;

import java.io.Serializable;

public class Category implements Serializable {
    /**
     * 书籍分类实体类
     */
    private String CategoryId;// 图书种类id
    private String CategoryName;// 图书种类名称
    private String CategoryDesc;// 图书种类描述

    public String getCategoryId() {
        return CategoryId;
    }

    public void setCategoryId(String categoryId) {
        CategoryId = categoryId;
    }

    public String getCategoryName() {
        return CategoryName;
    }

    public void setCategoryName(String categoryName) {
        CategoryName = categoryName;
    }

    public String getCategoryDesc() {
        return CategoryDesc;
    }

    public void setCategoryDesc(String categoryDesc) {
        CategoryDesc = categoryDesc;
    }

    public Category() {
    }

    public Category(String categoryId, String categoryName, String categoryDesc) {
        CategoryId = categoryId;
        CategoryName = categoryName;
        CategoryDesc = categoryDesc;
    }

    @Override
    public String toString() {
        return "Category{" +
                "CategoryId='" + CategoryId + '\'' +
                ", CategoryName='" + CategoryName + '\'' +
                ", CategoryDesc='" + CategoryDesc + '\'' +
                '}';
    }
}
